﻿namespace PrismEx.Interfaces
{
    using System;

    using Microsoft.Practices.Prism.Events;

    public interface IAutoSubscribe<in TEventType>
        where TEventType : EventBase
    {
        Action<TEventType> Handler { get; }

        void Unsubscribe();
    }
}
